package com.tai.design.factory.before;

/**
 * The type Coffee.
 *
 * @version v1.0
 * @ClassName: Coffee
 * @Description: 咖啡类
 * @Author: taylor
 */
public abstract class Coffee {

    /**
     * Gets name.
     *
     * @return the name
     */
    public abstract String getName();

    /**
     * Addsugar.
     */
//加糖
    public void addsugar() {
        System.out.println("加糖");
    }

    /**
     * Add milk.
     */
//加奶
    public void addMilk() {
        System.out.println("加奶");
    }
}
